#include "pch.h"
#include "Updater.h"
#include "CUpdateCore.h"
CUpdateCore g_updaterCore;
__declspec(dllexport) int	__stdcall 	Check(const char* szUrl, EventHandle eventHandle, void* data) {
	return g_updaterCore.Check(szUrl, eventHandle, data);
}

__declspec(dllexport) int __stdcall	DownLoad(const char* szUrl, EventHandle eventHandle, void* data) {
	return g_updaterCore.DownLoad(szUrl, eventHandle, data);
}
__declspec(dllexport) int	__stdcall	Update(const char* szCmd, EventHandle eventHandle, void* data) {
	return g_updaterCore.Update(szCmd, eventHandle, data);
}

  __declspec(dllexport) int	__stdcall	Cancel(const char* szCmd, EventHandle eventHandle, void* data) {
	UNREFERENCED_PARAMETER(szCmd);
	UNREFERENCED_PARAMETER(eventHandle);
	UNREFERENCED_PARAMETER(data);
	return 0;
}
 